package com.lvmama.pangolin.hotel.service;
import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.hotel.HotelPdetail;
import com.lvmama.pangolin.entity.hotel.HotelProductDetail;

import java.util.List;

import com.lvmama.pangolin.core.BaseService;


/**
 * Created by zhoutianqi on 2017/08/15.
 */
public interface HotelProductDetailService extends BaseService<HotelProductDetail> {
	public int saveHotelPdetail(HotelPdetail t);
	public int updateHotelPdetail(HotelPdetail t);
	public int updateByProd(HotelProductDetail t);
	public List<HotelProductDetail> findByString(String companyCode,String productName);
	public List<HotelProductDetail> findByCompanyUrl(String companyCode,String detailUrl);
	public List<HotelProductDetail> findByProductVO(ProductConditionVO po);
	public HotelProductDetail  findByProductId(String productId,String companyCode);
	public void setIsLinkd(String companyCode,String productId);
	public void deleteLinkd(String companyCode,String productId);
	public List<HotelProductDetail> findAllByProductVO(ProductConditionVO po);
}
